package com.ants.modules.wxManage.service;

import com.ants.modules.wxManage.entity.AntsWxSwiper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * TODO
 * Author Chen
 * Date   2021/9/7 18:44
 */
public interface AntsWxSwiperService extends IService<AntsWxSwiper> {

    /**
     * 选择 文章
     * @param title
     * @param pageNo
     * @param pageSize
     * @return
     */
    IPage<Map<String, String>> selectArticle(String title, Integer pageNo, Integer pageSize);

    /**
     * 获取首页轮播图
     * @return
     */
    List<Map<String, String>> getHomeSwiper();

    List<Map<String, String>> queryHotLableBySize(Integer pageSize);

}
